import {createApp} from 'vue'

import App from './App.vue'
import router from '@/router'
import pinia from '@/store'
import TDesign from 'tdesign-mobile-vue';
// 引入组件库的少量全局样式变量
import 'tdesign-mobile-vue/es/style/index.css';
// CSS
import '@unocss/reset/tailwind-compat.css'
import 'virtual:uno.css'
import 'virtual:svg-icons-register'
import './style.less'
import './mock';
import '@/utils/request';
import SvgIcon from "@/components/svgIcon/svgIcon.vue";
import {createCore} from '@/views/Editor/core'
const core = createCore()

const app = createApp(App)
app.use(pinia)
app.use(router)
app.use(TDesign);
app.use(core)
app.component('svg-icon',SvgIcon);
app.mount('#app')
